package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cat_activity_pass_end", autoSave = true,uploadCk = true,desc = "怪化猫-关卡结束")
public class LogCatActivityPassEnd extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "类型：1、挑战；2、扫荡；3、主角攻击；4：自动通关")
    private int type;

    @FieldTypeAnnotation(desc = "章节ID")
    private int chapterId;

    @FieldTypeAnnotation(desc = "关卡ID")
    private int passId;

    @FieldTypeAnnotation(desc = "本次消耗体力")
    private int energy;

    @FieldTypeAnnotation(desc = "累计体力消耗")
    private int totalUseEnergy;

    @FieldTypeAnnotation(desc = "退魔剑等级")
    private int abilityLv;

    @FieldTypeAnnotation(desc = "结束类型:0、扫荡； 1、通关（打败boss）；2、主角死了；3、回合不足；4、放弃；5、自动通关")
    private int endType;

    @FieldTypeAnnotation(desc = "本局星级")
    private int getStar;

    @FieldTypeAnnotation(desc = "累计星级")
    private int totalStar;

    @FieldTypeAnnotation(desc = "回合数")
    private int round;

    @FieldTypeAnnotation(desc = "主角扣血分布")
    private String roleBloodLose;

    @FieldTypeAnnotation(desc = "小怪技能释放次数")
    private String monsterSkill;

    @FieldTypeAnnotation(desc = "主角技能累计伤害")
    private long roleSkillDamage;

    @FieldTypeAnnotation(desc = "小怪累计对boss伤害")
    private long monsterDamage;

    @FieldTypeAnnotation(desc = "boss初始血量")
    private long bossInitBlood;

    @FieldTypeAnnotation(desc = "boss当前血量")
    private long bossBlood;

    @FieldTypeAnnotation(desc = "总连接数")
    private int allConnect;

    @FieldTypeAnnotation(desc = "本局持续时间")
    private long curDuration;

    @FieldTypeAnnotation(desc = "获得奖励")
    private String reward;

    public LogCatActivityPassEnd(long userId, int activityId, int type, int chapterId, int passId, int energy, int totalUseEnergy, int abilityLv, int endType, int getStar, int totalStar, int round, String roleBloodLose, String monsterSkill, long roleSkillDamage, long monsterDamage, long bossInitBlood, long bossBlood, int allConnect, long curDuration, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.chapterId = chapterId;
        this.passId = passId;
        this.energy = energy;
        this.totalUseEnergy = totalUseEnergy;
        this.abilityLv = abilityLv;
        this.endType = endType;
        this.getStar = getStar;
        this.totalStar = totalStar;
        this.round = round;
        this.roleBloodLose = roleBloodLose;
        this.monsterSkill = monsterSkill;
        this.roleSkillDamage = roleSkillDamage;
        this.monsterDamage = monsterDamage;
        this.bossInitBlood = bossInitBlood;
        this.bossBlood = bossBlood;
        this.allConnect = allConnect;
        this.curDuration = curDuration;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getChapterId() {
        return chapterId;
    }

    public void setChapterId(int chapterId) {
        this.chapterId = chapterId;
    }

    public int getPassId() {
        return passId;
    }

    public void setPassId(int passId) {
        this.passId = passId;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }

    public int getTotalUseEnergy() {
        return totalUseEnergy;
    }

    public void setTotalUseEnergy(int totalUseEnergy) {
        this.totalUseEnergy = totalUseEnergy;
    }

    public int getAbilityLv() {
        return abilityLv;
    }

    public void setAbilityLv(int abilityLv) {
        this.abilityLv = abilityLv;
    }

    public int getEndType() {
        return endType;
    }

    public void setEndType(int endType) {
        this.endType = endType;
    }

    public int getGetStar() {
        return getStar;
    }

    public void setGetStar(int getStar) {
        this.getStar = getStar;
    }

    public int getTotalStar() {
        return totalStar;
    }

    public void setTotalStar(int totalStar) {
        this.totalStar = totalStar;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public String getRoleBloodLose() {
        return roleBloodLose;
    }

    public void setRoleBloodLose(String roleBloodLose) {
        this.roleBloodLose = roleBloodLose;
    }

    public String getMonsterSkill() {
        return monsterSkill;
    }

    public void setMonsterSkill(String monsterSkill) {
        this.monsterSkill = monsterSkill;
    }

    public long getRoleSkillDamage() {
        return roleSkillDamage;
    }

    public void setRoleSkillDamage(long roleSkillDamage) {
        this.roleSkillDamage = roleSkillDamage;
    }

    public long getMonsterDamage() {
        return monsterDamage;
    }

    public void setMonsterDamage(long monsterDamage) {
        this.monsterDamage = monsterDamage;
    }

    public long getBossInitBlood() {
        return bossInitBlood;
    }

    public void setBossInitBlood(long bossInitBlood) {
        this.bossInitBlood = bossInitBlood;
    }

    public long getBossBlood() {
        return bossBlood;
    }

    public void setBossBlood(long bossBlood) {
        this.bossBlood = bossBlood;
    }

    public int getAllConnect() {
        return allConnect;
    }

    public void setAllConnect(int allConnect) {
        this.allConnect = allConnect;
    }

    public long getCurDuration() {
        return curDuration;
    }

    public void setCurDuration(long curDuration) {
        this.curDuration = curDuration;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

}
